package ysq.xyg.host.service;

import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.host.model.dto.HostReportExportDto;
import ysq.xyg.host.model.po.HostReport;
import ysq.xyg.host.model.vo.HostReportSearchVo;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.host.model.vo.HostReportVo;

import java.util.List;

/**
 * 房产-楼盘报备service接口
 *
 * @author congcong tao
 * @date 2019-12-11 14:59:48
 */
public interface HostReportService extends BaseService<HostReport> {

    /**
     * 分页查询
     *
     * @param hostReportVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 14:59:48
     */
    ReturnEntity page(HostReportVo hostReportVo, int pageSize, int pageNum);

    ReturnEntity myHostReportPage(HostReportSearchVo reportVo, int pageSize, int pageNum);

    /**
     * 修改
     *
     * @param hostReportVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 14:59:48
     */
    ReturnEntity addOrUpdate(HostReportVo hostReportVo, SysUser currentUser);

    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 14:59:48
     */
    ReturnEntity delete(String id, SysUser currentUser);

    /**
     * 获取集合
     *
     * @param hostReportVo 对象
     * @return List<HostReport> HostReport集合
     * @author congcong tao
     * @date 2019-12-11 14:59:48
     */
    List<HostReport> acceptList(HostReportVo hostReportVo);

    ReturnEntity saveHostReport(HostReportVo hostReportVo);

    List<HostReportExportDto> selectExportEntity(HostReportVo hostReportVo);
}
